import {customeStruct} from '../utils';
const itf = customeStruct.interface;

const defaultProps = {
    id: 'string',
};

export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            rowVersion: 'string? | null'
        }, defaultProps))],
        totalElements: 'number',
    })
});

export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            code: 'string',
            name: 'string'
        })],
    })
});

